package com.lxj.mapper;

import com.lxj.domain.BusReturn;
import com.lxj.dto.BusReturnDto;
import com.lxj.vo.BusReturnVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lxj
 * @date 2021/6/16 15:43
 */
public interface BusReturnMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BusReturn record);

    int insertSelective(BusReturn record);

    BusReturn selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BusReturn record);

    int updateByPrimaryKey(BusReturn record);

    /**
     * 分页查询
     * @param dto
     * @return
     */
    List<BusReturnVo> selectAll(@Param("query") BusReturnDto dto);
}